﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;

namespace Fur.Htx.EntityFramework.Core
{
    [AppDbContext("SqlServerConnection", DbProvider.SqlServer)]
    public class DefaultDbContext : AppDbContext<DefaultDbContext>
    {
        public DefaultDbContext(DbContextOptions<DefaultDbContext> options) : base(options)
        {

        }


        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            //optionsBuilder.UseLazyLoadingProxies()
            //              .UseSqlServer(DbProvider.GetConnectionString<DefaultDbContext>());

            base.OnConfiguring(optionsBuilder);
        }

    }
}